﻿@model IList<ProductOverviewModel>
@{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

    //title
    Html.AddTitleParts(T("PageTitle.RecentlyViewedProducts").Text);
}
@using Nop.Web.Models.Catalog;


<div class="features_items"><!--features_items-->
    <h2 class="title text-center">@T("Products.RecentlyViewedProducts")</h2>
    <div class="custom-page-box-border-less-div">    
        @if (Model.Count > 0)
        {
        
            <div class="product-grid home-page-product-grid">
                <div class="row ">
                    
                    @foreach (var product in Model)
                    {

                        <div class="col-md-4">
                            <div class="offer offer-default silde-show-offer pull-text-center">
                                @Html.Partial("_ProductBox", product)
                            </div>
                        </div>

                    }
                </div>
            </div>
        

        }else
        {
            <div class="alert alert-info square-box">
                No Recently Viewed Products are Available
            </div>
        }

    </div>
</div>

